package com.student.db;


import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.room.TypeConverters;

import com.google.gson.annotations.SerializedName;

import java.util.List;

@Entity(tableName = "db_room")
@TypeConverters(RoomEntityConvert.class)
public class RoomEntity {
    @NonNull
    @PrimaryKey
    private Long id;

    private String roomNo;
    private List<String> studentUserNames;
    public List<String> getStudentUserNames() {
        return studentUserNames;
    }

    public void setStudentUserNames(List<String> studentUserNames) {
        this.studentUserNames = studentUserNames;
    }

    @NonNull
    public Long getId() {
        return id;
    }

    public void setId(@NonNull Long id) {
        this.id = id;
    }

    @NonNull
    public String getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(@NonNull String roomNo) {
        this.roomNo = roomNo;
    }
}
